home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20041116-20060924
/
000165_fdc@columbia.edu_Sat Oct 15 11:54:49 2005.msg
< prev
next >
Wrap
Internet Message Format
|
2006-09-27
|
3KB
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: ftp mput /recursive problem....
Date: 15 Oct 2005 15:54:40 GMT
Organization: Columbia University
Lines: 62
Message-ID: <slrndl29i0.ldi.fdc@sesame.cc.columbia.edu>
References: <dip2gm$ci$1$8300dec7@news.demon.co.uk>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1129391680 24072 128.59.59.56 (15 Oct 2005 15:54:40 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 15 Oct 2005 15:54:40 GMT
User-Agent: slrn/0.9.8.0 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15408
On 2005-10-14, John Hackett <john.hackett@icon-is.co.uk> wrote:
: I am quite new to kermit so I hope this is not a stupid questions but
: I've spend hours trying to get this to work....
:
: I am trying to set up an automated backup from a Fedora3 server to a
: 500Gb LaCie drive over ethernet. There are about 30k files to transfer.
: I know both the server and the Lacie are OK as I have done the
: complete transfer with gFTP and all was OK.
:
Which version of Kermit are you using? The 8.0 series has gone through
several releases, each of which added some features or fixed bugs in the
ftp client. If you try the current development build:
http://www.columbia.edu/kermit/ckdaily.html
do you get the same result?
: I had some problems initially which I solved as follows:
:
: set file stringspace 10000000
: set file listsize 100000
: set ftp filenames literal
: set term idle-timeout 100
: set term idle-action output \32
:
The "set term" commands have nothing to do with ftp connections.
: With kermit I have a script which connects up; goes to the correct
: directories on each side and can transfers the files. However, when I go
: to the drive one of two things happens.
:
: (1) If I try "ftp mput /recursive /update * " the files appear to
: transfer. If I repeat it only the changed ones seem to be done again.
: But on the LaCie the files are invisible - I can't find them anywhere!
:
: (2) So I tried this instead:
:
: ftp mput /recursive /update /listfile:\m(filelist) - this tranfers all
: the files (I used find to generate a list of all the files (exc.
: directories). Now I thik all there files are there and visible but they
: ar enot in the correct directories! It looks as if kermit is descending
: but not ascending before creating a new directory.
:
There are some different variables to consider.
First, the large number of files. Do the same things happen if you set up
a similar scenario but with a much smaller number of files?
Second, the recursion. It takes two to tango. How do we know the server
is obeying all of Kermit's directives, or even supports them? From your
description it sounds like it's possible that Kermit's CDUP command is not
having any effect. Try it by hand, CD to some directory on this connection,
and then see if CDUP brings you back up.
Third, the update. This part seems to be working but you never know. Do you
see the same problems if you omit the /UPDATE switch?
Set up a test cases with a similar structure but a small number of files
and then, using "set ftp debug on" to follow what occurs between Kermit and
the server, see if you can home in on the problem.
- Frank